function X=ProcBound
GetCommonData;
nD=size(Disp,1);
X=NaN(Node.ndof,1);
for iD=1:nD
    idx=Disp{iD,1};
    drct=Disp{iD,2};
    A=Disp{iD,3};
    switch drct
        case 1
            loc=idx*2-1;
        case 2
            loc=idx*2;
    end
    X(loc)=A;
end